home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / ezy_comm / ezy1023.zip / SETUP.ZIP / BBS.BAT < prev    next >
DOS Batch File  |  1992-09-03  |  2KB  |  73 lines

  1. @echo off
  2. rem    Ezycom Standalone Batch File V1.0
  3. rem    Command Format :
  4. rem        BBS        (for node 1 operation)
  5. rem        BBS [node] (for node X operation)
  6. rem    [node] is the node number from 1 through to 250
  7. rem    eg  BBS 2
  8. cd %EZY%
  9. if %1! == !     SET TASK=1
  10. if not %1! == ! SET TASK=%1
  11. :start
  12. ezy -E25
  13. if errorlevel 27 goto start
  14. if errorlevel 26 goto tossmail
  15. if errorlevel 25 goto start
  16. if errorlevel 24 goto weeklyevent
  17. if errorlevel 23 goto dailyevent
  18. if errorlevel  9 goto start
  19. if errorlevel  8 goto sysopnext
  20. if errorlevel  7 goto netecho
  21. if errorlevel  6 goto netmail
  22. if errorlevel  5 goto echomail
  23. if errorlevel  4 goto modeminit
  24. if errorlevel  3 goto fossil
  25. if errorlevel  2 goto runtimeerror
  26. if errorlevel  1 goto setuperror
  27. goto finish
  28. :weeklyevent
  29. echo Weekly Maintenance Being performed
  30. cd %EZY%
  31. ezyff -c
  32. ezymaint -D
  33. goto start
  34. :dailyevent
  35. echo Daily Maintenance Being performed
  36. cd %EZY%
  37. ezyff -c
  38. ezymaint -p -i -c
  39. ezyff -i
  40. usercomp -B20 -S1 -P -D90 -A
  41. msgcomp  -LINK
  42. ezyutil  -STRIPLOG -TEZY%TASK%.LOG -D21
  43. goto start
  44. :tossmail
  45. cd %EZY%
  46. ezymail -toss
  47. ezynet  -import -echoarea
  48. :netecho
  49. echo Net/Echo Mail Entered
  50. cd %EZY%
  51. EZYMAIL -SCAN
  52. :netmail
  53. cd %EZY%
  54. EZYNET  -EXPORT
  55. goto start
  56. :echomail
  57. cd %EZY%
  58. EZYMAIL -SCAN
  59. goto start
  60. :fossil
  61. echo Fossil Error
  62. goto finish
  63. :modeminit
  64. echo Modem Init Error
  65. goto finish
  66. :runtimeerror
  67. echo Runtime Error Please consult Errors.log
  68. goto start
  69. :setuperror
  70. echo Setup Error
  71. :finish
  72. echo Ezycom is Down
  73.